package com.tql.pandian.mapper;



import com.tql.pandian.entity.TqlStapInChangeEntity;
import com.tql.pandian.entity.analysis.TqlCaseAnlasysEntity;

import com.tql.pandian.entity.analysis.vo.*;
import com.tql.pandian.entity.dto.StageOperationDTO;
import com.tql.pandian.entity.dto.StockDTO;
import com.tql.pandian.entity.vo.CaseAnalsysDto;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface CostAnalysisMapper {

    List<SaleDataArrVo> selectSaleDataArrVo(@Param("list") List<String> foodCodes, @Param("deptId") Long deptId);

    List<Map> selectStock(StockDTO dto);

    List<TqlCaseAnlasysEntity> selectInventory(@Param("dto") StockDTO dto,@Param("tableName") String tableName);

    List<DishBomRealVo> selectDishBomReal(@Param("list") List<String> foodCodes);

    List<StageOperationVo> selectStageOperation(Map map);

    List<StapProlossByArrVo> selectStapProlossByArr(@Param("list") Long[] deptCodes);


    StageOperationDTO getStageOperation1(String pandianCode);

    List<TqlCaseAnlasysEntity> findStapNameAndDeptName(List<TqlCaseAnlasysEntity> list);

    List<TqlCaseAnlasysEntity> findStapNameAndDeptName1(List<TqlCaseAnlasysEntity> list);

    List<TqlStapInChangeEntity> getCaseAnalsysIninfo(@Param("arr") Long[] arr,@Param("tableName") String tableName);
}
